package edu.sctu.practice.class02.xuejiahua.test18;

/**
 * Created by Administrator on 2015/10/30.
 */
public class Car extends Auto{
    public Car(int tire, int weight, String color, double speed) {
        super(tire, weight, color, speed);
    }

    public boolean air_condotion;
    public boolean CD;


    @Override
    public void accelerate() {
        System.out.println("the car can accelerate");
    }

    @Override
    public void decelerate() {
        System.out.println("the car can decelerate");
    }
}
